package com.springboot.returndata.dto;


import lombok.Data;
import jakarta.validation.constraints.NotEmpty;

import java.util.List;

/**
 * description:
 * @author: zyj
 * @date: 2023/3/2
 */
@Data
public class SaveRoleResourceTreeDto {

    @NotEmpty(message = "角色不能为空")
    private String roleId;

    @NotEmpty(message = "资源不能为空")
    private List<String> menuIds;
}
